package com.example.order.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.order.dao.MiaoshaGoodsMapper;
import com.example.order.service.OrderService;
import com.example.platformsharedcommon.entity.order.MiaoshaGoods;
import com.example.platformsharedcommon.entity.order.MiaoshaGoodsExample;

@Service
public class orderServiceImpl implements OrderService {
	@Autowired
	private MiaoshaGoodsMapper mapper;

	@Override
	public List<MiaoshaGoods> listOrder() {
		MiaoshaGoodsExample example = new MiaoshaGoodsExample();
		return mapper.selectByExample(example);
	}

}
